﻿@using PlatformNetCore.Entity;
@using Webdiyer.AspNetCore;
@model EmployeeInfo

<div class="banner banner-staff" style="background-image:url(@(Model.Ad != null && !string.IsNullOrWhiteSpace(Model.Ad.AdImagePC) ? Model.Ad.AdImagePC:"/img/banner/staff.jpg"))">
    <div class="txt">
        <div class="nav-container">
            <h1 class="text28 wow fadeInUp">@ViewBag.ParentTitle</h1>
            <ul class="nav wow fadeInUp">
                @foreach (Menu item in ViewBag.MenuTopSecond)
                {
                    <li><a href="@item.Link" class="@(item.MenuCode.Equals(ViewBag.MenuCode)?"active":"")">@item.Title</a></li>
                }
            </ul>
        </div>
    </div>
</div>

<div class="page page-training">
    <section class="s1 container">
        <div class="photolist">
            <div class="row">
                @foreach (var item in Model.Images)
                {
                    <div class="col-6 col-md-4">
                        <div class="item wow fadeInUp"><img src="/image/447/322/@item.CoverImage" alt="@item.Title"></div>
                    </div>
                }
            </div>
            <footer class="news-footer wow fadeInUp">
                @Html.Pager((IPagedList)Model.Images, new PagerOptions()
                {
                        ShowFirstLast = false,
                        PrevPageText = "<",
                        NextPageText = ">",
                        PageIndexParameterName = "pageindex",
                        NumericPagerItemCount = 5,
                        CssClass = "pagination text-center",
                        CurrentPagerItemTemplate = "<li class=\"page-item active\"><a class=\"page-link\" href=\"javascript:;\">{0}</a></li>",
                        DisabledPagerItemTemplate = "<li class=\"page-item disabled\"><a class=\"page-link\" href=\"javascript:;\">{0}</a></li>",
                        PagerItemTemplate = "<li class=\"page-item\">{0}</li>"
                })
            </footer>
        </div>
    </section>
</div>

